<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
 <html>
 <head>
   <link rel="stylesheet" type="text/css" href="/resumeSysytem/css/adduser.css"/>
 </head>
 <body>
 <div id="systemMessage"></div>
 <div dojoType="dijit.Dialog" jsId="addsubcpyfCmDialog" title="系统消息">
   <table>
     <tr><td><label id="delusermessage" for="editschusername">信息已成功添加</label></td>
         <td></td></tr>
     <tr><td></td></tr>
     <tr><td align="center" colspan="2">
     <button dojoType="dijit.form.Button">确定
         <script type="dojo/method" event="onClick">
             addsubcpyfCmDialog.hide();
             registercpyfname.setValue("");
             registercpyfaddress.setValue("");
             registercpyfmemo.setValue("");
         </script>
     </button>
</td></tr>
   </table>
 </div>
 <form method="post" id="registersubcompany">
    <div>
      <div id="adduserleft">
         <dl>
            <dd>
              <label for="name">分公司名:</label>
              <input name="name" jsId="registercpyfname" dojoType="dijit.form.TextBox" value="" intermediateChanges="true" trim="true" required="true">
            </dd>
            <dd>
              <label for="address">地址:</label>
              <input name="address" jsId="registercpyfaddress" dojoType="dijit.form.TextBox" value="" intermediateChanges="true" trim="true" required="true">
            </dd>
         </dl>
      </div>
    </div>
    <div id="adduserbottom">    
              <label for="memo">备注:</label><br>
              <textarea class="memo" jsId="registercpyfmemo" name="memo" dojoType="dijit.form.Textarea" required="true"></textarea> 
              <br><br>
              <button dojoType="dijit.form.Button" name="submitButton">添加
                   <script type="dojo/method" event="onClick">
                    addsubcompany();
                    //editschuserfDialog.hide();
                   </script>
              </button>
              <button dojoType="dijit.form.Button" type="reset" name="resetButton" value="reset">重置</button>
    </div>
 </form>
 </body>
 </html>